package com.hoshiicloud.user.mapper.rbac;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hoshiicloud.user.entity.company.Member;

import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
 * 租户会员Mapper接口
 *
 * @author : yangcheng
 * @date : 2019/5/15 15:20
 * @mail : maiboyc@163.com
 **/
public interface IMemberMapper extends BaseMapper<Member> {

    /**
     * 查询租户会员信息和平台会员信息
     * 租户会员信息来自members，平台会员信息来自plat_consumer,以member_id关联
     * @return Map<String,Object>
     */
    Map<String,Object> getMemberWithConsumerInfo(Map<String,Object> map);

}
